<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">

<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/bom/bomLookUp" onsubmit="return  dwzSearch(this, 'dialog');">
    <div class="pageHeader">
        <div class="searchBar bom" >
            <ul class="searchContent">
                <li ><label   id="bomCode"><@label key="bomCode.C,colon">物料清单编号：</@label></label> <input type="text" class="textInput" name="bomCode" value="${condition.bomCode!''}" /></li>
                <li ><label   id="bomText"><@label key="description.C,colon">描述：</@label></label> <input type="text" class="textInput" name="bomText" value="${condition.bomText!''}" /></li>
                    <li class="query">
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit"><@label key="query.B">查询</@label></button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    
    <table class="table border" targetType="dialog" width="100%" layoutH="100" style="overflow:scroll;">
        <thead>
            <tr>
                <th width="200" orderField="bomCode"<#if (page.orderField?? && page.orderField == 'bomCode')>class="${page.orderDirection!''}"</#if>><@label key="bomCode.C">物料清单编号</@label></th>
                <th width="200" orderField="bomText"<#if (page.orderField?? && page.orderField == 'bomText')>class="${page.orderDirection!''}"</#if>><@label key="text.C">描述</@label></th>
                <th width="80"><@label key="selected_first.C">请选择</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as bom>
            <tr target="bom_code" rel="${bom.bomCode!''}">
                <td>${bom.bomCode!''}</td>
                <td>${bom.bomText!''}</td>
                <td><a class="btnSelect bringBack" value="{bomCode:'${bom.bomCode!''}', bomText:'<@json_escape>${bom.bomText!''}</@json_escape>'}" ><@label key="select.B">选择</@label></a></td>        
            </tr>
            </#list> <#else>
            <tr >
                <td class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if> <#else>
            <tr >
                <td class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/dialogPanelBar.html">
    
</div>